88905dda5cad9bff30065310c7fbba7a11fbfea0,src/main/java/org/icij/extract/tasks/TagTask.java,TagTask,tag,#Map#,90

Before Change


			logger.info(String.format("Processed a total of %d documents.", processed));
			logger.info(String.format("Tagged %d documents.", consumer.getConsumeCount()));

			if (options.get("soft-commit").on()) {
				client.commit(true, true, true);
			} else if (options.get("commit").on()) {
				client.commit(true, true, false);
			}

After Change


			logger.info(String.format("Processed a total of %d documents.", processed));
			logger.info(String.format("Tagged %d documents.", consumer.getConsumeCount()));

			if (options.get("soft-commit").parse().isOn()) {
				client.commit(true, true, true);
			} else if (options.get("commit").parse().isOn()) {
				client.commit(true, true, false);
			}